const baseUrl = 'http://yongzhou.ufunet.cn'
const comApiBase = 'http://open1.ufunet.cn'
const scoreLimit = 0
// const baseUrl = ''
// 微信部分的配置
const appId = 'wxb49f0a0ee3b7b621'
const projectName = '0425yongzou'
let wx = {
  appId, // ufun
  debug: false, // 是否开启微信debug模式
  title: '愿景国际Vvmall开业',
  desc: '百万豪礼免费送',
  link: `http://open1.ufunet.cn/pages/redirect/dist/index.html?appid=${appId}&redirect_uri=/pages/h5/2018/${projectName}/app`,
  imgUrl: `http://open1.ufunet.cn/pages/h5/2018/${projectName}/app/share.jpg`
}

let maoku = {
  AppID: '5ad5c88288ce7e53f4acee54',
  PublicKey: 'SpR2bh',
  Mallid: '10633',
  CallbackUrl: `http://open1.ufunet.cn/pages/h5/2018/${projectName}/app`
}
// let maoku = {
//   AppID: '5ad5c8303ae74e451c8b153a',
//   PublicKey: '5I9oy-',
//   Mallid: '10632',
//   CallbackUrl: `http://open1.ufunet.cn/pages/h5/2018/${projectName}/app`
// }

// if (process.env.NODE_ENV === 'development') {
// maoku = {
//   AppID: '5ab9a8f53ae74e22d869f6bc',
//   PublicKey: 'lqTZad',
//   Mallid: '10060',
//   CallbackUrl: `http://open1.ufunet.cn/pages/h5/2018/${projectName}/app`
// }
// }
maoku.authorize = `https://m.mallcoo.cn/a/open/User/V2/OAuth/CardInfo/?AppID=${maoku.AppID}&PublicKey=${maoku.PublicKey}&CallbackUrl=${maoku.CallbackUrl}`
export default {
  wx,
  baseUrl,
  maoku,
  comApiBase,
  scoreLimit
}
